package com.demo.mapper;

import com.demo.pojo.User;
import com.demo.pojo.Zc;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ZcMapper {
    int deleteByPrimaryKey(Integer zcId);

    int insert(Zc record);

    int insertSelective(Zc record);

    Zc selectByPrimaryKey(Integer zcId);

    int updateByPrimaryKeySelective(Zc record);

    int updateByPrimaryKey(Zc record);

    List<Zc> pageByCond(
            @Param("zc") Zc zc, @Param("pageNo") int pageNo, @Param("pageSize") int pageSize);

    int pageCount(Zc zc);
}